package com.ruoyi.system.vo;

import com.ruoyi.system.domain.WebReceiveList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wsliupan
 * @title: WebReceiveListVO
 * @projectName yuansheng
 * @description: TODO
 * @date 2021-5-2512:16
 */
@ApiModel("回收员保存收单对象")
public class WebReceiveListVO {
    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "userId不能为null")
    private Integer userId;
    @ApiModelProperty(value = "回收员订单id，在保存接单时获取", required = true)
    @NotNull(message = "回收员订单id")
    private Integer receiveOrderId;
    @ApiModelProperty("回收列表集合")
    private List<WebReceiveList> webReceiveLists;
    @ApiModelProperty(value = "总总量", hidden = true)
    private Long weight;
    @ApiModelProperty(value = "总金额", hidden = true)
    private Double price;

    @ApiModelProperty(value = "图片，以逗号分割" )
    private  String images;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getReceiveOrderId() {
        return receiveOrderId;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public void setReceiveOrderId(Integer receiveOrderId) {
        this.receiveOrderId = receiveOrderId;
    }

    public List<WebReceiveList> getWebReceiveLists() {
        return webReceiveLists;
    }

    public void setWebReceiveLists(List<WebReceiveList> webReceiveLists) {
        this.webReceiveLists = webReceiveLists;
    }

    public Long getWeight() {
        return weight;
    }

    public void setWeight(Long weight) {
        this.weight = weight;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
